﻿1998 Audi S8 (D2)
----------------------------------------------------------------------------------------------------
Audi A8 model: Raines 
Some Parts/Textures: Turn10, RVH Customs
Compilation/Adaption: HRH
----------------------------------------------------------------------------------------------------
Features: 
- Pre-facelift D2 chassis.
- Interior has some facelift parts.
- Exterior/Interior layouts & colors from factory selection.
- Factory extras and some complimentary tuning.
- [PAINT:1] body [PAINT:2] primary trim [PAINT:4] rim [PAINT:6] secondary trim [PAINT:7] upholstery
- Basic optimization (L0-L2).
- Supports major game features.
- Use add-on for full features.
----------------------------------------------------------------------------------------------------
Spawn Alias: S8D2
Tuning ID: 670
Replaced Vehicle: RUSTON
----------------------------------------------------------------------------------------------------
How to install:
....................................................................................................
If this is your first time to install a car mod in GTAV, then please read this: https://forums.gta5-mods.com/topic/1451/tutorial-grand-theft-auto-v-modding-a-few-things-you-should-know (especially 3.paragraph).
....................................................................................................
Replace version:
1. Go to this mod´s "Replace" folder.
2. Open OPENIV and go to update/x64/dlcpacks/mpspecialraces/dlc.rpf/x64/levels/gta5/vehicles/mpspecialracesvehicles.rpf
3. Find "ruston.yft", "ruston.ytd" & "ruston_hi.yft" and replace them with the same 3 files from "Replace" folder.
4. Open "vehicles.meta" in update/x64/dlcpacks/mpspecialraces/dlc.rpf/common/data/levels/gta5
6. Use CTRL+F to search "ruston".
7. Replace following lines in game-file.
   <Item>
      <modelName>ruston</modelName>
      <txdName>ruston</txdName>
      <handlingId>RUSTON</handlingId>
      <gameName>S8D2</gameName>
      <vehicleMakeName>AUDI</vehicleMakeName>
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName />
	    <animConvRoofName />
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>DUBSTA3</audioNameHash>
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>WINDSOR2_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_STANDARD_LONG</bonnetCameraName>
      <povCameraName>REDUCED_NEAR_CLIP_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.060000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.025000" z="0.000000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="0.000000" z="-0.040000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="-0.015000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.060000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.150000" y="0.208000" z="0.546000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.158000" y="0.135000" z="0.460000" />
	  <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.158000" y="0.000000" z="0.460000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.158000" y="0.000000" z="0.460000" />
			<SeatIndex value="3" />
		</Item>
	  </FirstPersonMobilePhoneSeatIKOffset>
      <PovCameraOffset x="0.000000" y="-0.185000" z="0.680000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
	  <PovRearPassengerCameraOffset x="0.000000" y="-0.175000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="true" />
      <AllowSundayDriving value="true" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.319700" />
      <wheelScaleRear value="0.319700" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.750000" />
      <envEffScaleMin value="0.000000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.400000" />
      <damageOffsetScale value="0.400000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="1.000000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        75.000000
        150.000000
        470.000000
        480.000000
        490.000000
        500.000000
      </lodDistances>
      <minSeatHeight value="0.925" />
      <identicalModelSpawnDistance value="150" />
      <maxNumOfSameColor value="2" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="10" />
      <swankness>SWANKNESS_3</swankness>
      <maxNum value="3" />
      <flags>FLAG_EXTRAS_REQUIRE FLAG_PARKING_SENSORS FLAG_RICH_CAR FLAG_PEDS_CAN_STAND_ON_TOP FLAG_EXTRAS_STRONG FLAG_REPORT_CRIME_IF_STANDING_ON	FLAG_CAN_HONK_WHEN_FLEEING	FLAG_CAN_BE_DRIVEN_ON FLAG_USE_FAT_INTERIOR_LIGHT FLAG_INCREASE_CAMBER_WITH_SUSPENSION_MOD</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
	  <dashboardType>VDT_ZTYPE</dashboardType>
      <vehicleClass>VC_SEDAN</vehicleClass>
      <wheelType>VWT_HIEND</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers />
      <extraIncludes>
        <Item>EXTRA_2 EXTRA_3</Item>
      </extraIncludes>
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="true" />
      <needsRopeTexture value="false" />
      <requiredExtras>EXTRA_4</requiredExtras>
      <rewards />
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NumBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_FUTO_FRONT_LEFT</Item>
        <Item>STD_FUTO_FRONT_RIGHT</Item>
        <Item>STD_WINDSOR2_REAR_LEFT</Item>
        <Item>STD_WINDSOR2_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>
8. Open "handling.meta" in update/x64/dlcpacks/mpspecialraces/dlc.rpf/common/data
9. Use CTRL+F to find "RUSTON"
10. Replace following lines in game-file:
    <Item type="CHandlingData">
      <handlingName>RUSTON</handlingName>
      <fMass value="1900.000000" />
      <fInitialDragCoeff value="1.600000" />
      <fPercentSubmerged value="85.000000" />
      <vecCentreOfMassOffset x="0.000000" y="0.050000" z="0.00000" />
      <vecInertiaMultiplier x="1.300000" y="1.500000" z="1.200000" />
      <fDriveBiasFront value="0.500000" />
      <nInitialDriveGears value="6" />
      <fInitialDriveForce value="0.18000" />
      <fDriveInertia value="2.300000" />
      <fClutchChangeRateScaleUpShift value="1.00000" />
      <fClutchChangeRateScaleDownShift value="1.1500000" />
      <fInitialDriveMaxFlatVel value="210.000000" />
      <fBrakeForce value="0.3000000" />
      <fBrakeBiasFront value="0.590000" />
      <fHandBrakeForce value="0.550000" />
      <fSteeringLock value="33.000000" />
      <fTractionCurveMax value="1.88000" />
      <fTractionCurveMin value="1.745000" />
      <fTractionCurveLateral value="18.500000" />
      <fTractionSpringDeltaMax value="0.1620000" />
      <fLowSpeedTractionLossMult value="1.10000" />
      <fCamberStiffnesss value="0.000000" />
      <fTractionBiasFront value="0.490000" />
      <fTractionLossMult value="1.00000" />
      <fSuspensionForce value="3.700000" />
      <fSuspensionCompDamp value="1.700000" />
      <fSuspensionReboundDamp value="2.800000" />
      <fSuspensionUpperLimit value="0.0500000" />
      <fSuspensionLowerLimit value="-0.050000" />
      <fSuspensionRaise value="0.000000" />
      <fSuspensionBiasFront value="0.540000" />
      <fAntiRollBarForce value="0.7500000" />
      <fAntiRollBarBiasFront value="0.600000" />
      <fRollCentreHeightFront value="0.130000" />
      <fRollCentreHeightRear value="0.130000" />
      <fCollisionDamageMult value="0.9500000" />
      <fWeaponDamageMult value="0.750000" />
      <fDeformationDamageMult value="1.00000" />
      <fEngineDamageMult value="1.000000" />
      <fPetrolTankVolume value="80.000000" />
      <fOilVolume value="15.000000" />
      <fSeatOffsetDistX value="0.000000" />
      <fSeatOffsetDistY value="0.000000" />
      <fSeatOffsetDistZ value="0.000000" />
      <nMonetaryValue value="20000" />
      <strModelFlags>448010</strModelFlags>
      <strHandlingFlags>10101</strHandlingFlags>
      <strDamageFlags>0</strDamageFlags>
      <AIHandling>AVERAGE</AIHandling>
      <SubHandlingData>
        <Item type="CCarHandlingData">
          <fBackEndPopUpCarImpulseMult value="0.100000" />
          <fBackEndPopUpBuildingImpulseMult value="0.030000" />
          <fBackEndPopUpMaxDeltaSpeed value="0.600000" />
        </Item>
        <Item type="NULL" />
        <Item type="NULL" />
      </SubHandlingData>
    </Item>
11. Open "carvariations.meta" in update/x64/dlcpacks/mpspecialraces/dlc.rpf/common/data
12. Use CTRL+F to find "RUSTON"
13. Replace following lines in game-file.
    <Item>
      <modelName>ruston</modelName>
      <colors>
		     <Item>
          <indices content="char_array">
            150
            24
            2
            18
            18
            112
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item> 
        <Item>
          <indices content="char_array">
            112
            21
            4
            18
            21
            22
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>    
			  <Item>
          <indices content="char_array">
            147
            107
            2
            18
            106
            107
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
				<Item>
          <indices content="char_array">
            79
            107
            2
            18
            21
            22
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>     
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Standard White</Name>
            <Value value="100" />
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="0" />
      <sirenSettings value="0" />
    </Item>
14. DONE!

....................................................................................................
Add-on version:
1. Put folder "s8d2" into mods/update/x64/dlcpacks
2. Open "dlclist.xml" in update/update.rpf/common/data
3. Add line into the list:
    <Item>dlcpacks:\s8d2\</Item>
4. Save and put back inside update/update.rpf/common/data
5. Play the game and spawn with "s8d2"
----------------------------------------------------------------------------------------------------
It is recommended that you use OpenIV's "mods"-folder feature (http://openiv.com/?p=1132).
-----------------------------------------------------------------------------------------------------
SUPPORT THE DEVELOPER! PLEASE BUY THE GAME!
